DESCRIPTION = "RISC-V Core IP Base Linux image"

require recipes-core/images/core-image-minimal.bb

inherit extrausers
EXTRA_USERS_PARAMS = "usermod -P sifive root;"

IMAGE_FEATURES += "\
    package-management \
    ssh-server-openssh \
"

# base libs and tools
IMAGE_INSTALL += " \
    kernel-modules \
    bc kmod memtester \
    iperf3 iproute2 lrzsz curl tree wget \
"

# wayland init script: weston-start &
IMAGE_INSTALL += " \
    wayland \
    wayland-protocols \
    \
    weston-init \
    weston-examples \
"

# qt libs and tools
IMAGE_INSTALL += " \
    qtserialport \
    qtbase-plugins \
    qtserialbus-tools \
    qtserialbus-plugins \
    qt3d-qmlplugins \
    qtquick3d-qmlplugins \
    qtdeclarative-qmlplugins \
    qtquickcontrols-qmlplugins \
    qtquickcontrols2-qmlplugins \
    qtgraphicaleffects-qmlplugins \
    qtmultimedia-qmlplugins \
    qtvirtualkeyboard-qmlplugins \
    qtwayland-qmlplugins qtwayland-tools \
    \
    packagegroup-qt5-qtcreator-debug \
"

